package com.shujia.day05;

/*
    static
        如果对成员变量进行修饰，那么当前的成员变量对于所有的对象来说都是共有的
 */
public class Code05PersonOperator {
    public static void main(String[] args) {
        Person person = new Person("林青霞", 60, "中国");
        Person person2 = new Person("朱茵", 40, "中国");
        Person person3 = new Person("邱淑贞", 40, "中国");

        person.show();
        person2.show();
        person3.show();

        // 对国籍加上static进行修饰
        Person person4 = new Person("刘亦菲", 30, "美国");

        person.show();
        person2.show();
        person3.show();
        person4.show();



    }
}
